package com.awcall.iot.service;

import com.awcall.iot.common.ResponseResult;
import com.awcall.iot.model.Role;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author wuhui
 * @since 2018-03-05
 */
public interface IRoleService extends IService<Role> {

    ResponseResult validate(Role role);

    ResponseResult insertRole(Role role);

    ResponseResult updateRole(Role role);

    ResponseResult findByAdminUserId(Long id);

}
